package com.ajx.platform.buildingmronitor.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.anjuxing.platform.common.crud.CrudServiceImpl;
import com.anjuxing.platform.common.exception.ServiceException;
import com.ajx.platform.buildingmronitor.mapper.HightBuildCameraMapper;
import com.ajx.platform.buildingmronitor.model.HightBuildCamera;
import com.ajx.platform.buildingmronitor.service.HightBuildCameraService;

/**
 * 高空抛物摄像机信息表
 */
@Service("hightBuildCameraService")
@Transactional(readOnly = true, rollbackFor = ServiceException.class)
public class HightBuildCameraServiceImpl extends CrudServiceImpl<HightBuildCameraMapper, HightBuildCamera> implements HightBuildCameraService {

    @Autowired
    private HightBuildCameraMapper hightBuildCameraMapper;


    @Override
    public String findGroupCamera(String deviceSn) {
        return hightBuildCameraMapper.findGroupCamera(deviceSn);
    }
}